 @echo off
setlocal enabledelayedexpansion

set COUNTER=0

:LOOP
set /a COUNTER+=1
echo   testTotal count::::: !COUNTER!  ci     [time::::: %time%]

adb shell svc wifi disable
echo   duan wang, wait 10s .
timeout /t 10 /nobreak >nul

adb shell svc wifi enable
echo   lian wang, wait 20s .

timeout /t 20 /nobreak >nul

goto LOOP